#!/usr/bin/env python

from ph_api_widget     import *
from ph_api_widget_ind import *
from ph_api_widget_arg import *
from ph_api_widget_resource import *
from ph_api_other      import *

print "Import success..."

if __name__ == "__main__":
  w = Widget(WidgetInd("window"))

  init()

  w.create()
  w.set_arg(WidgetArg(
    "set",
    [
      ("title", "main window"),
      ("dim", (100, 100))
    ]))

  w.realize()

  main_loop()
